package com.example.mptnet.Models;


import com.google.gson.annotations.SerializedName;

public class Users_info {
    @SerializedName("login")
    private String login;
    @SerializedName("password")
    private String password;

    @SerializedName("user_id")
    private String user_id;

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public Users_info(String login, String password, String user_id) {
        this.login = login;
        this.password = password;
        this.user_id = user_id;
    }

    public boolean Auth(String login, String password) {
        return this.login.equals(login) && this.password.equals(password);
    }
}